package vcp.client.interfaces.listeners;

import vcp.client.GUI.events.ConnectionRequestEvent;

/**
 * Interface for connection
 * 
 * @author VCP team
 * 
 */
public interface IConnectionListener
{
	/**
	 * Receives callback from UIDemoController when user tries to connect to
	 * Server-Client system
	 * 
	 * @param connectionEvent
	 */
	void onConnectionRequest ( ConnectionRequestEvent connectionEvent );

	/**
	 * receives callback when connection losts
	 */
	void onConnectionLost ( String lostReason );
}
